import service from '@/tools/request/service'

const httpGet = (url, params, opt = {}) => {
  return service({url, params, ...opt})
}

const httpPost = (url, data, opt = {}) => {
  return service({url, data, ...opt})
}

export { httpGet, httpPost }
